#include"../mqcommon/mq_helper.hpp"

int main(){
    //zlrmq::FileHelper fh("../mqcommon/helper.hpp");
    //DBG_LOG("%d" ,fh.exists());
    //DBG_LOG("%d" ,fh.size());

    //zlrmq::FileHelper fh("./aaa/bbb/ccc/tmp.hpp");
    //if(fh.exists() == false){
    //    std::string path = zlrmq::FileHelper::parentDir("./aaa/bbb/ccc/tmp.hpp");
    //    DBG_LOG("%s",path.c_str());
    //    if(zlrmq::FileHelper(path).exists() == false){
    //        zlrmq::FileHelper::CreateDir(path);
    //    }
     //   zlrmq::FileHelper::CreateFile("./aaa/bbb/ccc/tmp.hpp");
    //}
/*     zlrmq::FileHelper fh1("../mqcommon/helper.hpp");
    std::string buf;
    fh1.read(buf);
    //DBG_LOG("%s",buf);
    zlrmq::FileHelper fh2("./aaa/bbb/ccc/tmp.hpp");
    fh2.write(buf); */
    zlrmq::FileHelper fh1("./aaa/bbb/ccc/test.hpp");
    //fh1.rename("./aaa/bbb/ccc/test.hpp");

    //fh1.DeleteFile("./aaa/bbb/ccc/test.hpp");

    fh1.DeleteDir("./aaa");
    return 0;
}